<form id="frmsearch" action="/advsearch/result" >
    <div class="mainbox formbox">
        <h1>论坛搜索</h1>
        <table cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="10%">
                        搜索方式
                    </td>
                    <td width="40%">
                        <label>
                            <input  type="radio" value="title" name="searchfield" checked="checked" id="searchfield_title">标题搜索
                        </label>
                        <label>
                            <input  type="radio" value="content" name="searchfield" id="searchfield_content">全文搜索（主题+回复）
                        </label>
                    </td>
                    <td width="50%">
                        最新的主题可能不会被搜索到
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr>
                    <th>
                        <label for="keys">
                            关键字
                        </label>
                    </th>
                    <td>
                        <input id="keys" maxlength="50" size="60" name="keys">
                    </td>
                    <td>
                        关键字中空格为关键字一部分，请慎用！
                    </td>
                </tr>
            </tbody>
            <tbody id="notgoogle1" style="">
                <tr>
                    <th>
                        <label for="uid">
                            用户名
                        </label>
                    </th>
                    <td>
                        <input id="uid" maxlength="50" size="60" name="uid">
                    </td>
                    <td>
                        用户名或用户昵称
                    </td>
                </tr>
            </tbody>
            <tbody id="notgoogle2" style="">
                <tr>
                    <td valign="top">
                        <label for="boardid">
                            搜索范围
                        </label>
                    </td>
                    <td>
                    <select id="boardid" name="boardid">
                        <option value="all" selected="">所有版块</option>
                        #foreach($sectionInfo in $sectionInfos)
                        <optgroup label="$sectionInfo.sectionname">
                            #foreach($board in $sectionInfo.boardBloBInfos)<option value="$board.boardid">&nbsp; &gt; $board.boardname</option>
                            #end
                        </optgroup>
                        #end
                    </select>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr class="btns">
                    <th>
                        &nbsp;
                    </th>
                    <td height="30">
                        <input class="submit" name="searchsubmit" id="searchsubmit" type="submit" value="搜索"/>
 
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</form>
#includeJs(["advSearch/advSearch"])
